<include file="header" />
<div class="contentLeft fl">
      <div class="searchBox">
            <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
            <div class="search">
                <ul>
                    <li class="mt15"><a href="__APP__/Index/login" class="loginLink">我要登陆</a><a href="__APP__/Index/register" class="loginLink ml15">我要注册</a></li>
                    
                </ul>
            </div>
            <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
        <div class="leftQuestion">
          <h2 class="alphaimg">订房须知</h2>
            <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
      <div class="procedure">
      	<a href="http://www.okhome.cn/Index/news/id/109">
              <ul>
                  <li>订房步骤</li>
                    <li>公寓现场交接手续</li>
                    <li>退房手续</li>
                    <li>注意事项</li>
                </ul>
          </a>
                <span>租房热线：<b>021-62660009</b><b>021-62770636</b></span>     </div>
      <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
        <div class="leftQuestion">
          <h2 class="alphaimg">常见问题</h2>
            <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
            <div class="leftNew">
                <empty name="articleList">
                       暂无新闻
                       <else/>
                       <ul>
                           <volist name="articleList" id="alist">
                               <li>
                                   <a href="__URL__/news/id/{$alist.id}">{$alist.title|getDesc|cutstr=22}</a>
                               </li>
                           </volist>
                       </ul>
                </empty>
                <span><a href="__APP__/Index/listing/id/78">>>全部信息</a> </span>
            </div>
      <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
        
        <div class="searchBox" style="margin-top:18px;">
            <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
            <div class="search">
                <ul style="margin-top:10px;">
                    <form id="searchForm" action="__APP__/House/search"  method="get" name="searchForm">
                           
                    <li>
                        <select id="citySelect" name="district" class="selectStyle">
                            <option value="-1">--请选择区域--</option>
                                <volist name="districtmenu" id="dm">
                                    <option value="{$key}" <eq name="_REQUEST.district" value="$key">selected</eq> >{$dm}</option>
                                </volist>
                        </select>
                    </li>
                    <li>
                        <select id="citySelect" name="layout" class="selectStyle">
                            <option value="-1">--请选择户型--</option>
                                <volist name="layoutmenu" id="lm">
                                    <option value="{$key}" <eq name="_REQUEST.layout" value="$key">selected</eq> >{$lm}</option>
                                </volist>
                        </select>
                    </li>
                    <li>
                        <select id="citySelect" name="price" class="selectStyle">
                           <option value="-1">--请选择价格--</option>
                          <option value="260" <eq name="_REQUEST.price" value="260">selected</eq> >260元/日以下</option>
                          <option value="400" <eq name="_REQUEST.price" value="400">selected</eq> >260元/日到400元/日</option>
                          <option value="401" <eq name="_REQUEST.price" value="401">selected</eq> > 400元/日以上</option>
                        </select>
                    </li>
                    <li class="mt15"><input type="submit" class="searchBtn" value="搜索房源"></li>
                  </form>
                </ul>
            </div>
            <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
  </div>
        
  <div class="contentRight fr">

    <volist name="hotel" id="ht">
      <div class="houseShowBg">
          <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
            <div class="houseShow">
              <div class="picShow">
                  <a href="__APP__/Hotel/index/id/{$ht.id}"><img width="250" height="188" src="{$ht.url|getTPImgUrl}" alt="{$ht.name}"></a>
        </div>
                <div class="rightWord">
                  <h2><a href="__APP__/Hotel/index/id/{$ht.id}" target="_blank">{$ht.name}</a></h2>
                    <dl>
                      <dt>地址：</dt>
                        <dd>{$ht.address}</dd>
                        <dt>简介：</dt><dd>{$ht.community|getDesc=180}</dd>
                        <dt>交通：</dt><dd>{$ht.traffic|getDesc=180}</dd>
                        
                    </dl>
                </div>
                <table cellspacing="0" cellpadding="0" border="0" class="table">
                  <tbody><tr class="title">
                    <td class="tl">房型</td>
                    <td>户型</td>
                    <td>面积</td>
                    <td>日租价</td>
                    <td>周租价</td>
                    <td>月租价</td>
                    <td>详情</td>
                    <td>预定情况</td>
                    <td>预定</td>
                  </tr>
                  <tr class="h10">
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                  </tr>
                  <php>$house = M('House')->where("status =1 and hotel_id=".$ht['id'])->order('sort')->findAll();</php>
                  <volist name="house" id="hu">
                    <tr>
                        <td class="tl"><a href="__APP__/House/index/id/{$hu.id}" title="{$hu.name}" > {$hu.name}</a></td>
                        <td>{$hu.layout|getConfigVal=layout}</td>
                        <td>{$hu.area}</td>
                        <td>{$hu.day_price}</td>
                        <td>{$hu.week_price}</td>
                        <td>{$hu.month_price}</td>
                        <td><a href="__APP__/House/index/id/{$hu.id}" title="{$hu.name}" > <font color="red">查看</font></a></td>
                        <td>{$hu.is_free}</td>
                        <td><a href="__APP__/House/book/id/{$hu.id}" rel="noflollow"><font color="red">预订</font></a></td>
                    </tr>
                </volist>
                  
                </tbody></table>
      </div>
            <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
      </volist>
      {$page}
      </div> <!--end of right house display-->

<notempty name="notice">
        <div id="postit">
            <div align="right"><b><a href="javascript:closeit()">[关闭]</a></b></div>
            <h3 align="center">{$notice.title}</h3>
            <p>&nbsp;</p>
            <p>{$notice.content}</p>
        </div>
        <script type="text/javascript" src="__PUBLIC__/Js/notice.js"></script>
</notempty>
<include file="footer" />
